package com.lagou.dao;

import com.lagou.pojo.LagouAuthCode;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @Author : liuchangling
 * @Descrition :
 * @Date： Created in 4:22 下午 2022/1/31
 */
public interface LagouAuthCodeDao extends JpaRepository<LagouAuthCode,Long> {
    List<LagouAuthCode> findByEmailAndCode(String email,String code);
}
